package com.sms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

//促销活动
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Promotions {
    @TableId(type = IdType.AUTO)
    private int promotionID;
    private String promotionName;
    private String details;
    private java.sql.Date startDate;
    private java.sql.Date endDate;

    private int promotionTypeID;
    @TableField(exist = false)
    private PromotionsType promotionsType;
}